package com.hex.ds.hdrs.app.dto;

import com.hex.ds.hdrs.agent.po.AgentConf;
import com.hex.ds.hdrs.app.po.AppExecStrategyPo;
import com.hex.ds.hdrs.cron.po.CronTask;
import com.hex.ds.hdrs.period.task.po.PeriodTask;
import lombok.Data;

import java.util.List;

@Data
public class AppSessionResponseDto {

    private String appCode;

    private String appName;

    private String appStatus;

    private String sortStrategy;

    private List<AppExecStrategyPo> execStrategyList;

    private List<AgentConf> agentConfList;

    private Integer curResNum = 0;

    private Integer curConcurrentNum = 0;

    private Integer resTotal = 0;

    private Integer concurrentTotal = 0;

    private Integer resUsageRate = 0;

    private Integer conUsageRate = 0;


    private List<PeriodTask> periodRunningList;

    private List<CronTask> cronRunningList;

}
